class BusinessError extends Error { //业务错误，所有项目中的错误均继承这个
  constructor(message) {
    super(message);
    this.name = this.constructor.name;
    this.ErrorCode='-100000'
  }
}

module.exports=BusinessError
